]> dgit.raspbian.org Git - gnome-shell.git/commit
overviewControls: Hide the appDisplay when it's not shown
authorJonas Dreßler <verdre@v0yd.nl>
Tue, 9 Mar 2021 16:37:22 +0000 (17:37 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sat, 13 Mar 2021 22:13:25 +0000 (22:13 +0000)
commitc239cd398d45cd4364cbd57e973c982cd99dfdc5
tree5a9b0a3e229c46580a6212b83e040c8de8ac0023
parentd21a0b186edf9832d48901e35c2927fd9cd70f1d
overviewControls: Hide the appDisplay when it's not shown

Hiding actors allows excluding them from layout, so by hidding the
appDisplay in all the cases where the overviewAdjustment is not actually
showing it, we can save a lot of time on the first frame of painting
the overview because we no longer have to layout the whole appGrid.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1755>
js/ui/overviewControls.js